package com.qfedu.mtl.service;

import com.qfedu.mtl.entity.Category;
import com.qfedu.mtl.query.CategoryQuery;
import com.qfedu.mtl.util.page.Pager;

import java.util.List;

/**
 * @Date 2023/9/26 21:08
 */
public interface CategoryService {
    Pager<Category> findPage(Integer page, Integer size, CategoryQuery query);
    Category findById(Integer id);
    void save(Category category);
    void update(Category category);
    void delete(Integer id);
    void deleteBcat(List<Integer> ids);
}
